package com.wiz.vo.criteria;

import java.util.Date;

public class FuelingSearchCriteriaTO {

	private String fuellingOrderId;//订单id
	private String stationId;//油站id
	private String pr;//油品
	private String memberName;//加油客户名称
	private String groupNo;//班次号
	private String stationAdminName;//加油员姓名
	private Integer paidTypeId;//支付渠道:-1:无需支付,0:待确定,1:现金,2:余额支付,3:支付宝,4:微信
	private Integer payStatus;//支付状态:-1:无需支付,0:待确定,1:已支付
	private Date beginDate ;
	private Date endDate ;

	private int pageSize;
	private int pageNo;
	private Boolean isNeedPaging;
	private int startIndex;
	private int endIndex;

	
	public FuelingSearchCriteriaTO() {
		super();
	}

	public FuelingSearchCriteriaTO(String fuellingOrderId, String stationId,
			String pr, String memberName, String groupNo,
			String stationAdminName, Integer paidTypeId, Integer payStatus,
			int pageSize, int pageNo, Boolean isNeedPaging,Date beginDate,Date endDate) {
		super();
		this.fuellingOrderId = fuellingOrderId;
		this.stationId = stationId;
		this.pr = pr;
		this.memberName = memberName;
		this.groupNo = groupNo;
		this.stationAdminName = stationAdminName;
		this.paidTypeId = paidTypeId;
		this.payStatus = payStatus;
		this.pageSize = pageSize;
		this.pageNo = pageNo;
		this.isNeedPaging = isNeedPaging;
		this.beginDate = beginDate;
		this.endDate = endDate;
	}

	public Boolean getIsNeedPaging() {
		return isNeedPaging;
	}

	public void setIsNeedPaging(Boolean isNeedPaging) {
		this.isNeedPaging = isNeedPaging;
	}

	public int getStartIndex() {
		if (this.startIndex == 0)
			return (this.pageNo - 1) * this.pageSize;
		else
			return this.startIndex;

	}

	public void setStartIndex(int startIndex) {
		this.startIndex = startIndex;
	}
	public int getEndIndex() {
		if (this.endIndex == 0)
			return this.pageSize* this.pageNo;
		else
			return this.endIndex;
	}

	public void setEndIndex(int endIndex) {
		this.endIndex = endIndex;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public int getPageNo() {
		return pageNo;
	}

	public void setPageNo(int pageNo) {
		this.pageNo = pageNo;
	}

	public String getFuellingOrderId() {
		return fuellingOrderId;
	}

	public void setFuellingOrderId(String fuellingOrderId) {
		this.fuellingOrderId = fuellingOrderId;
	}

	public String getStationId() {
		return stationId;
	}

	public void setStationId(String stationId) {
		this.stationId = stationId;
	}

	public String getPr() {
		return pr;
	}

	public void setPr(String pr) {
		this.pr = pr;
	}

	public String getMemberName() {
		return memberName;
	}

	public void setMemberName(String memberName) {
		this.memberName = memberName;
	}

	public String getGroupNo() {
		return groupNo;
	}

	public void setGroupNo(String groupNo) {
		this.groupNo = groupNo;
	}

	public String getStationAdminName() {
		return stationAdminName;
	}

	public void setStationAdminName(String stationAdminName) {
		this.stationAdminName = stationAdminName;
	}

	public Integer getPaidTypeId() {
		return paidTypeId;
	}

	public void setPaidTypeId(Integer paidTypeId) {
		this.paidTypeId = paidTypeId;
	}

	public Integer getPayStatus() {
		return payStatus;
	}

	public void setPayStatus(Integer payStatus) {
		this.payStatus = payStatus;
	}

	public Date getBeginDate() {
		return beginDate;
	}

	public void setBeginDate(Date beginDate) {
		this.beginDate = beginDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}



}
